BSD System Calls and C Library Functions manual pages missing

Commands like man 2 socket or man 3 printf say that there is no such manual page. How do I install the corresponding man pages?

I am on macOS Sierra, and XCode 8.0 is installed.

I use zsh if the shell matters in some way.

MacBook (13-inch Mid 2010), macOS Sierra (10.12), ZSH shell

Posted on Sep 27, 2016 6:58 AM

Reply
3 replies

Sep 27, 2016 9:34 AM in response to kkanungo17

You need your environment variable MANPATH set to .:/usr/share/man: in zsh if it is not. I have Xcode 8 and the command line tools installed, and have no issue with man pages, including those that you have mentioned. I use Bash, not zsh.


You can optionally extend the MANPATH search order by adding /usr/local/share/man: and this let you see those pages added in that location by non-Apple software.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

BSD System Calls and C Library Functions manual pages missing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.